﻿@using HiLand.General.Entity
@model SimpleProductEntity
@{
    ViewBag.Title = "ProductDetails";

    string productImageUrl = Url.Content("~/Content/Images/NoImage_340_255.jpg");
    if (Model.ProductMainImage != null)
    {
        string thumbnailUrl = Model.ProductMainImage.EnsureThumbnailAllVirtualPath(340, 255);
        if (string.IsNullOrWhiteSpace(thumbnailUrl) == false)
        {
            productImageUrl = thumbnailUrl;
        }
    }
}
<div class="page-item">
    <a name="top"></a>
    <table width="100%" cellspacing="0" cellpadding="0" class="items searchresult-item-detail">
        <tbody>
            <tr>
                <td align="center" class="result" width="100%">
                   @{Html.RenderAction("_ProductItemLargeFeature", "Product", new { productGuid = Model.ProductGuid });}
                </td>
            </tr>
        </tbody>
    </table>
    <a name="description"></a>
    <div id="description" class="section">
        <h3>
            商品描述</h3>
        @Model.ProductMemo
    </div>
</div>
